//
//  WLNavigationScrollViewModel.h
//  LookNovel
//
//  Created by chuangqi on 2021/3/8.
//  Copyright © 2021 cq Co.,ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WLNavigationScrollModel.h"

NS_ASSUME_NONNULL_BEGIN

/**
 导航+内容的，展示逻辑
 */
@interface WLNavigationScrollViewModel : NSObject
#pragma mark -- 导航数据
/** 导航栏section内，cell 高度 */
@property (nonatomic,assign) CGFloat cellHeight;
/** 导航栏section内，cell的间距 垂直 */
@property (nonatomic,assign) CGFloat verticalSection;
/** 导航栏section内，cell的间距 水平 */
@property (nonatomic,assign) CGFloat horizontalSection;
/** 导航栏section 内边距 */
@property (nonatomic,assign) UIEdgeInsets insetForSection;

/** 获取导航栏视图展示模型 */
-(NSArray<WLBaseCollectionViewLayerSection *> *)getNavigationItem:(NSArray<WLNavigationScrollModel *> *)nav_list;

/** 导航栏滚动条数据 */
@property (nonatomic,strong) NSMutableArray<WLNavigationScrollModel *> *nav_class_list;
/** 初始化导航数据  */
-(void)initNavigationModelList:(NSArray <WLNavigationScrollModel *> *)navigationScrollModelList;


#pragma mark -- 导航逻辑数据
/** 当前选中的下标 */
@property (nonatomic,assign) NSInteger select_index;
/** 当前滚动的下标进度位置 比例 */
@property (nonatomic,assign) CGFloat offset_progress;

@end

NS_ASSUME_NONNULL_END
